Jimi Xenidis [Sun, 3 Jun 2007 14:35:20 +0000 (10:35 -0400)]
[POWERPC][XEN] ingore firmware debugging image
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Jimi Xenidis [Sun, 3 Jun 2007 14:20:02 +0000 (10:20 -0400)]
[POWERPC][FIRMWARE] Increase stack and move it to the biging of the data section.
RTAS code needs more stack and moving the stack out of the text section makes oger debuggers (gdb) happy.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Jimi Xenidis [Sun, 3 Jun 2007 14:15:50 +0000 (10:15 -0400)]
[POWERPC][XEN] Simplify Dom0 Loading.
- Load the kernel image before all other images, this allows for
debugging image location to be way easier.
- Simplify libelf usage
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Jimi Xenidis [Sun, 3 Jun 2007 14:02:25 +0000 (10:02 -0400)]
[POWERPC][XEN] Restore sanity to the memory allocated for the OFD devtree
- Allocate less memory
- Size the grub module to the actual OFD size
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Jimi Xenidis [Sun, 3 Jun 2007 02:01:45 +0000 (22:01 -0400)]
[POWERPC][XEN] Build firmware as single section and also build a debuggable image.
- Uses --omagic to make sure that firmware is a singel image
- Link and extra firmware image that is starts where we expect to
load, this allows gdb to work on the image.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Tom Wilkie [Thu, 17 May 2007 10:42:46 +0000 (11:42 +0100)]
Fix default return value for VM_Metrics.get_state
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Thu, 17 May 2007 10:18:58 +0000 (11:18 +0100)]
Fix recent XenRT Failure re: xm block-list via XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Ewan Mellor [Wed, 16 May 2007 22:12:16 +0000 (23:12 +0100)]
Added xeninfo.pl, a script for collecting statistics from Xen hosts using the
Xen-API. This also serves as a good example of the use of XML::RPC::Client
with the Xen-API.
By Ingard Mevåg <ingard [at] mevaag [dot] no>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Wed, 16 May 2007 08:57:29 +0000 (09:57 +0100)]
linux: Un-__init a couple of kexec vars that are accessed after init time.
Signed-off-by: Keir Fraser <keir@xensource.com>
Simon Horman [Wed, 16 May 2007 08:15:54 +0000 (09:15 +0100)]
static, __init and __initdata symbols in machine_kexec.c
Some symbols in machine_kexec.c really ought to be static and,
marked __init or __initdata.
Signed-off-by: Simon Horman <horms@verge.net.au>
Ian Campbell [Tue, 15 May 2007 18:00:48 +0000 (19:00 +0100)]
[XEND] Write the default ABI to the xenstore entry for each frontend
device.
This allows to run older kernels in a 32on64 mixed environment.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Ian Campbell [Tue, 15 May 2007 16:54:48 +0000 (17:54 +0100)]
[BUILDER] Propagate the native protocol ABI for a guest out of the
domain builder and in to python code.
This knowledge will be useful to allow us to pre-seed the protocol
field in a VBD entry in xenstore which will allow us to run older
kernels in a 32on64 mixed environment.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Tom Wilkie [Tue, 15 May 2007 16:01:57 +0000 (17:01 +0100)]
Add some fields from XenAPI docs to implementation.
Add stefan's patch to swap mtu and mac, so they're correct.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 14:14:02 +0000 (15:14 +0100)]
[HVM][SVM] Reintroduce ASIDs.
ASIDs partition the physical TLB for SVM. In the current implementation
ASIDs are used to reduce the number of TLB flushes. Each time the
guest's virtual address space changes (e.g. due to an INVLPG,
MOV-TO-{CR3, CR4} operation), instead of flushing the TLB, a new ASID is
assigned. This reduces the number of TLB flushes to at most 1/#ASIDs
(currently 1/64). The biggest advantage is that hot parts of the
hypervisor's code and data remain in the TLB.
From: Sebastian Biemueller <Sebastian.Biemueller@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:50:09 +0000 (10:50 +0100)]
Fix TPM support in HVM domains
Signed-off-by: Joseph Cihula <joseph.cihula@intel.com>
Signed-off-by: Peter Yang <peisen.yang@intel.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:49:10 +0000 (10:49 +0100)]
xenapi: Small fix to the host.get_name_description call
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:46:43 +0000 (10:46 +0100)]
x86/hvm: HVM_DBG_LOG() cleanup
- make log levels used consistent in a few places
- remove trailing newlines, dots, and commas
- remove explictly specified function names from message text
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:46:03 +0000 (10:46 +0100)]
vmx: remove CSTAR save/restore on VMX
CSTAR is an unused MSR in 64-bit mode on Intel's EM64T, hence there's
no need to save/restore this MSR during context switches. Mimic real
hardware by retaining the value written for eventual guest OS reads.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:43:59 +0000 (10:43 +0100)]
x86/hvm: add logging for hypercalls
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:43:18 +0000 (10:43 +0100)]
x86: fix EFER handling
Introduce a per-CPU shadow of what is currently in EFER, as context
switch code must re-write this MSR so that all guests run with
appropriate EFER.SCE and EFER.NX settings. Remove EFER from the set of
MSRs that VMX deals with in a generic fashion.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:28:28 +0000 (10:28 +0100)]
x86/hvm: hypercall adjustments
- share more code between 32- and 64-bit variants
- properly handle continuations for 32-bit guests on 64-bit hv
- properly handle preemption (this must *not* rely on regs->eip, as
- other code may overwrite the value there by calling
- hvm_store_cpu_guest_regs()
- deny hypercall access when called from guest in vm86 mode, which
requires that ???_guest_x86_mode() make real and vm86 modes distinguishable
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:13:11 +0000 (10:13 +0100)]
x86-64/hvm: pio result storing
Don't clear upper 32 bits on 8- and 16-bit PIO reads.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:12:02 +0000 (10:12 +0100)]
x86: ptwr adjustments
Make sure MFN read from pte is valid before accessing the page info
structure associated with it. Drop guest-to-machine-physical
translation from ptwr code.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:08:20 +0000 (10:08 +0100)]
x86: replace some intpte_t * casts
Don't cast values when other (type safe) mechanisms are available to =
achieve the same effect.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:03:58 +0000 (10:03 +0100)]
x86: kill unused local variable sh_mapcache
Apparently a leaf-over from pre-3.0.3.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:03:14 +0000 (10:03 +0100)]
tools: check for curl-devel and libxml2-devel
when they are required for LIBXENAPI_BINDINGS.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 09:01:14 +0000 (10:01 +0100)]
tools: check for libvncserver dependency libraries
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 08:59:51 +0000 (09:59 +0100)]
64-bit hvm on 32-bit dom0 - ioemu adjustments
Don't mask off data bits when running 64-bit hvm guests on 32-bit dom0.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 08:54:27 +0000 (09:54 +0100)]
x86: suppress SYSCALL feature for 32on64 guests
since Xen cannot handle it.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 15 May 2007 08:50:36 +0000 (09:50 +0100)]
x86: invalidate_shadow_ldt() should be static
Since invalidate_shadow_ldt() depends on process_deferred_ops() to be
called, it shouldn't be visible outside xen/arch/x86/mm.c.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Steven Hand [Mon, 14 May 2007 14:19:46 +0000 (15:19 +0100)]
Fix HVM save/restore after upgrade to 0.90.
Signed-off-by: Steven Hand <steven@xensource.com>
Steven Hand [Mon, 14 May 2007 14:16:32 +0000 (15:16 +0100)]
HVM save/restore: handle larger domain ids.
Signed-off-by: Steven Hand <steven@xensource.com>
Keir Fraser [Sun, 13 May 2007 09:04:34 +0000 (10:04 +0100)]
hvm qemu: Fix for masking 64-bit operands broke 32-bit operands with
32-bit qemu. Issue spotted and initial fix provided by Dexuan Cui.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 12 May 2007 18:22:24 +0000 (19:22 +0100)]
svm: Simplify asm stub for vmentry/vmexit.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 12 May 2007 18:04:35 +0000 (19:04 +0100)]
svm: Avoid VMSAVE/VMLOAD/VMSAVE/VMLOAD sequence on every vmexit/vmentry.
Instead do this only on context switches. In cases where we need
access to state that is only saved to the VMCB on VMSAVE, we track
whether the state is in sync via a per-vcpu flag and VMSAVE on demand.
The context switch code can be further improved:
1. No need to VMLOAD host state if we are switching to another SVM VCPU.
2. No need to VMSAVE host state at all (except once at start of day)
because the registers that are saved do not change (or at least, none
of the ones that matter change).
The performance is improvement is about 650 cycles for a null
hypercall. This reduces the total null-hypercall time for a non-debug
build of Xen down to around 3300 cycles on my AMD X2 system.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 12 May 2007 15:24:50 +0000 (16:24 +0100)]
hvm: Fix ACPI shutdown, broken by my previous changeset.
It turns out that although PIIX4 hardware defines the S5 type code to
be 000, all OSes will discover the correct code by evlauating an \_Sx
object in the ACPI DSDT. And we set the type code in that object to be
111.
So this patch keeps the other cleanups made to the piix4acpi.c file,
but switches back to checking for code 111. It also makes it clearer
in both the ioemu code and in the dsdt source code where these magic
numbers come from.
Let's hope noone actually has the true PIIX4 type codes hardcoded
(it's highly doubtful that anyone would).
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 12 May 2007 11:46:26 +0000 (12:46 +0100)]
vmx: Replace pointless test-then-set with set.
Spotted by Eddie Dong.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 12 May 2007 11:44:20 +0000 (12:44 +0100)]
xend: configuration option 'localtime = 1' is not honored for PV domains.
This patch fixes an oversight when platform_* config options were
collected in a dictionary.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Keir Fraser [Sat, 12 May 2007 11:43:16 +0000 (12:43 +0100)]
xen: Fix struct-size checker for unions and long names.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Keir Fraser [Sat, 12 May 2007 11:41:40 +0000 (12:41 +0100)]
hvm qemu: Fix write parameter masking for 64-bit guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 12 May 2007 11:37:51 +0000 (12:37 +0100)]
xen: Better handling on not-present PDEs in destroy_xen_mappings().
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 12 May 2007 11:07:01 +0000 (12:07 +0100)]
x86: Improve zap_low_mappings.
Do it earlier on x86/64, properly free non-superpages on x86/32, and
leave a mapping of the boot trampoline (0x90000-0xA0000) in place.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 12 May 2007 09:28:53 +0000 (10:28 +0100)]
xen: Free initmem after boot. Mark lots of init functions as __init
that weren't before.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 12 May 2007 08:48:33 +0000 (09:48 +0100)]
hvm: Fix emulation of PIIX4 PMCNTRL register for soft power-off.
The type code needs to be 000, not 111 (which is a reserved value).
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Fri, 11 May 2007 09:07:06 +0000 (10:07 +0100)]
[qemu patches] Update patches upto changeset 15040:
090ca10cb543.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Fri, 11 May 2007 09:06:19 +0000 (10:06 +0100)]
[qemu] Fix ia64 after removal of ia64_intrinsic.h.
From: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Keir Fraser [Thu, 10 May 2007 22:49:04 +0000 (23:49 +0100)]
svm: Rationalise register synchronisation to be similar to our vmx
handling.
1. Do not copy all VMCB register state in cpu_user_regs on every
vmexit.
2. Save/restore RAX inside asm stub (in particular, before STGI on
vmexit).
3. Simplify store/load_cpu_guest_regs() hook functions to synchronise
precisely the same state as VMX.
By my measurements this reduces the round-trip latency for a null
hypercall by around 150 cycles. This is about 3% of the ~5000-cycle
total on my AMD X2 system. Not a great win, but a nice extra on top of
the code rationalisation.
Keir Fraser [Thu, 10 May 2007 21:54:43 +0000 (22:54 +0100)]
xen: Some cleanups for x86 start of day.
1. Remove erroneous modification to e820.c
2. Make sure Xen is relocated as high as possible below 4GB.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Thu, 10 May 2007 18:35:25 +0000 (19:35 +0100)]
[qemu patches] Update patches upto changeset 15036:
dfbbb4d3b0dd.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
--HG--
rename : tools/ioemu/patches/vnc-numpad-handling => tools/ioemu/patches/vnc-keypad-handling
Christian Limpach [Thu, 10 May 2007 18:33:05 +0000 (19:33 +0100)]
[qemu] Fix keypad handling for VNC.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Thu, 10 May 2007 17:02:55 +0000 (18:02 +0100)]
xen: Big changes to x86 start-of-day:
1. x86/64 Xen now relocates itself to physical high memory. This is
useful if we have devices that need very low memory, or if in
future we want to grant a 1:1 mapping of low physical memory to a
special 'native client domain'.
2. We now only map low 16MB RAM statically. All other RAM is mapped
dynamically within the constraints of the e820 map. It is
recommended never to map MMIO regions, and this change means that
Xen now obeys this constraint.
3. The CPU bootup trampoline is now permanently installed at
0x90000. This is necessary prereq for CPU hotplug.
4. Start-of-day asm is generally cleaned up and diff between x86/32
and x86/64 is reduced.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Thu, 10 May 2007 15:22:27 +0000 (16:22 +0100)]
[qemu patches] Update patches upto changeset 15032:
8f510bf078c7.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 10 May 2007 15:05:31 +0000 (16:05 +0100)]
[qemu patches] Update patches upto changeset 15032:
8f510bf078c7.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 10 May 2007 14:58:35 +0000 (15:58 +0100)]
[qemu] Remove atomic_set_bit, atomic_clear_bit and ia64_intrinsic.h and its
users.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 10 May 2007 14:39:28 +0000 (15:39 +0100)]
[qemu] Remove unused -timeoffset option.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 10 May 2007 14:17:20 +0000 (15:17 +0100)]
[qemu] Remove -vnclisten option since the same functionality is now
available using the -vnc option.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 10 May 2007 14:10:16 +0000 (15:10 +0100)]
[qemu] Remove no longer needed change.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 10 May 2007 14:02:05 +0000 (15:02 +0100)]
[qemu] Use qemu's -vnc option to specify the interface to listen on.
Domain config files still use the original syntax with vnc and vnclisten.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 10 May 2007 13:44:45 +0000 (14:44 +0100)]
[qemu] Fix shift key for non-graphical vnc displays (like the monitor).
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 10 May 2007 12:57:13 +0000 (13:57 +0100)]
[qemu] Sync data to disk if write cache is disabled.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Wed, 9 May 2007 21:50:26 +0000 (22:50 +0100)]
[qemu] Fix typo in previous ia64 build fix (my fault).
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Wed, 9 May 2007 21:12:20 +0000 (22:12 +0100)]
[qemu] Fix ia64 build.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Ian Campbell [Wed, 9 May 2007 17:53:02 +0000 (18:53 +0100)]
[BUILDER] Ensure that the L3 page table page for a PAE guest which does not
support the extended-cr3 format is below the 4G boundary.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Wed, 9 May 2007 14:31:37 +0000 (15:31 +0100)]
hvm: Save/restore register state across hypercalls.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Wed, 9 May 2007 13:17:15 +0000 (14:17 +0100)]
[ioemu] Update to qemu 0.90.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Tue, 8 May 2007 09:38:06 +0000 (10:38 +0100)]
[qemu patches] Update patches upto changeset 15013:
b78d611d1b.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Tim Deegan [Tue, 8 May 2007 09:32:38 +0000 (10:32 +0100)]
Merge
Tim Deegan [Tue, 8 May 2007 09:32:05 +0000 (10:32 +0100)]
[HVM] Fix shadow remove-write-access heuristic for 64bit w2k3 linear map.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Tue, 8 May 2007 09:21:23 +0000 (10:21 +0100)]
xend hvm: Fix 'monitor=1' handling in domain config file.
Fix wrong python list assignment for "monitor=1". The old assignment
only works when using qemu-dm.debug in configure file.
Signed-off-by: You YongKang <yongkang.you@intel.com>
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
kfraser@localhost.localdomain [Tue, 8 May 2007 09:17:46 +0000 (10:17 +0100)]
[Xen-API] Fix the rtc/timeoffset entry.
It cannot be 'None' as this is not parseable by the Java xmlrpc
library.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Keir Fraser [Mon, 7 May 2007 12:58:42 +0000 (13:58 +0100)]
ia64, linux: Import linux git changeset
5ee7737379b1d7f0c977c0f1661fbaf01a8d4721
Without this, IA64 vcpu hot plug/remove or domain save/restore cause
kernel panic.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Keir Fraser [Mon, 7 May 2007 12:57:18 +0000 (13:57 +0100)]
linux: Add two arch hooks xen_pre_suspend() and xen_post_suspend() for
suspend/resume. Xen/ia64 needs them.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Keir Fraser [Mon, 7 May 2007 12:54:51 +0000 (13:54 +0100)]
ioemu: Fix typo in the ISO_Level3_Shift patch which prevents AltGr key working.
Signed-off-by: Cedric Schieli <cschieli@gmail.com>
Keir Fraser [Mon, 7 May 2007 12:52:50 +0000 (13:52 +0100)]
xenstat: Remove the "vbd-%d-%d is a VBD." debugging statement.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 5 May 2007 12:48:05 +0000 (13:48 +0100)]
hvm: Domains must be at least 2MB in size.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 5 May 2007 10:23:55 +0000 (11:23 +0100)]
Fix Xen API's Host.get_record method.
Currently it returns supported_bootloaders as a string. This patch
returns supported_bootloaders as a 'string set' - per the spec. The
c-bindings fail to parse response, expecting a set but only finding a
string.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
kfraser@localhost.localdomain [Thu, 3 May 2007 18:25:47 +0000 (19:25 +0100)]
blktap: Fix qcow max_aio_reqs calculation.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Thu, 3 May 2007 14:39:45 +0000 (15:39 +0100)]
[qemu patches] Update patches upto changeset 14986:
1ddaf2650633.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Thu, 3 May 2007 10:22:58 +0000 (11:22 +0100)]
xend: Revert changeset 15002. Breaks xend restart in some cases.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 3 May 2007 08:33:12 +0000 (09:33 +0100)]
[IA64] Presently pygrub only looks in /efi/redhat/elilo.conf. It
should check for other distributions, plus a couple fallback
locations.
Signed-off-by: Aron Griffis <aron@hp.com>
kfraser@localhost.localdomain [Thu, 3 May 2007 08:32:35 +0000 (09:32 +0100)]
ia64 doesn't use /usr/lib64 on any distribution. When it's present, it's a symlink to /usr/lib
Signed-off-by: Aron Griffis <aron@hp.com>
kfraser@localhost.localdomain [Thu, 3 May 2007 08:29:07 +0000 (09:29 +0100)]
Even though 3.1.0 won't have an implementation for it, reserve
VCPUOP_register_vcpu_info anyway so that we can start talking about
the interface on the guest side.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Brendan Cully [Wed, 2 May 2007 16:42:43 +0000 (09:42 -0700)]
Put blktap character device back into /dev/xen.
Changeset 14895:
800aa9f5cec9 accidentally moved it into /var/run/tap
along with the control FIFOs.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
Tom Wilkie [Wed, 2 May 2007 16:14:52 +0000 (17:14 +0100)]
[XEND] Move Vifctl.network('start') earlier in Xend startup so XendNode can find networks when its initialised.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 2 May 2007 15:43:45 +0000 (16:43 +0100)]
Fix the fix for XendPIF
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 2 May 2007 15:33:05 +0000 (16:33 +0100)]
Fix PIFIsPhysical exception when starting Xend
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Tue, 1 May 2007 10:40:40 +0000 (11:40 +0100)]
[XM] Fix some small bugs in XenAPI create code.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Tue, 1 May 2007 10:36:44 +0000 (11:36 +0100)]
[XM] Fix get_single_vm bug
Stops traceback when given a bad domain name
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Wed, 2 May 2007 14:25:02 +0000 (15:25 +0100)]
xend: Interface capability identifiers are statically xen-3.0-*,
rather than being dynamically generated from actual Xen version
major/minor pair.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Wed, 2 May 2007 13:53:27 +0000 (14:53 +0100)]
[HVM] Save/restore: fix cset 14995
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Wed, 2 May 2007 13:41:51 +0000 (14:41 +0100)]
[HVM] Save/restore: save pending interrupts/events on HVM vcpus
along with the rest of the cpu state. This stops us from dropping
interrupts after the vlapic has recorded them in the ISR but before the
guest has actually taken them.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Keir Fraser [Tue, 1 May 2007 21:24:01 +0000 (22:24 +0100)]
xend: Fix use of PIFIsPhysical (takes no arguments).
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Tue, 1 May 2007 13:17:01 +0000 (14:17 +0100)]
[pv console] Move console information in xenstore to serial/0/.
Support information in console/ in a backwards compatible fashion.
This puts the serial port information for pv domains at the same
location where it is for hvm domains.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 13:01:01 +0000 (14:01 +0100)]
xend: Fix SrvDomain.op_save.
The xen.xend.server.SrvDomain class provides an op_save method for
saving guests. This just calls into the domain_save method on
xen.xend.XenDomain The latter recently gained an extra 'checkpoint'
argument, but the SrvDomain class is not providing this. The attached
patch simply makes the 'checkpoint' arg default to 'False' if not
provided by the caller which makes old calling convention.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:20:55 +0000 (10:20 +0100)]
xend: Ensure 2MB free before creating any domain. All domain creations
have an implicit memory overhead.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:18:11 +0000 (10:18 +0100)]
xend: Fix spurious store changes on rename/migrate
_storeChanged() was incorrectly comparing a string to an sxpr, thus
always firing and causing unnecessary watches to be fired in the
domU.
Signed-off-by: John Levon <john.levon@sun.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:16:26 +0000 (10:16 +0100)]
save/restore: If ENABLE_LOGDIRTY fails, it may be because it is
already active. To find out, attempt to disable and then reenable the
mode.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:15:08 +0000 (10:15 +0100)]
xend: Ensure bootable flag is set in internal xend config for tap
devices.
Original patch by: Jim Fehlig <jfehlig@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:08:36 +0000 (10:08 +0100)]
linux blkback/blktap: Request/response identifiers are u64, not long.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 30 Apr 2007 14:06:34 +0000 (15:06 +0100)]
Handle ISO_Level3_Shift keysym as AltGr in ioemu/vncfb.
The modern (xkb) way of mapping the AltGr key (113) seems to be using
the ISO_Level3_Shift keysym (0xFE03) instead of the obsolete
Mode_switch keysym (0xFF7E).
This patch let the "keysym to scancode" translator handle the
ISO_Level3_Shift correctly, enabling the use of characters like
~#{[|`\^@]} on a french keyboard.
From: Cedric Schieli <cschieli@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>